<template>
  <div>detail {{ roleId }} {{roleid1}}</div>
</template>
<script lang="ts" setup>
import { useRoute } from "vue-router";

const route = useRoute();
console.log(route.params);

const props = defineProps({
  roleId: String,
  roleid1: String,
});
</script>
